package wireless.user.action;

import javax.servlet.http.HttpServletRequest;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

public class LogOutAction extends ActionSupport {
	
	
	public String execute(HttpServletRequest request) throws Exception{
		request.getSession().removeAttribute("username");
		request.getSession().removeAttribute("type");
		//System.out.print("--------"+ActionContext.getContext().getSession().get("username"));
		return "success";
	}
}
